Skip to content

Fail add_to_pydotorg on release-file create failures#403

Open
e-q wants to merge 1 commit into
python:mainfrom
e-q:fail-add-to-pydotorg-create-errors
Open

Fail add_to_pydotorg on release-file create failures#403
e-q wants to merge 1 commit into
python:mainfrom
e-q:fail-add-to-pydotorg-create-errors

Conversation

@e-q
Copy link
Copy Markdown

@e-q e-q commented Jun 2, 2026

Summary

  • raise an error when creating a release-file API object fails
  • clean up release-file rows created earlier in the same run if a later create
    fails
  • add focused tests for create failure reporting and cleanup behavior

Closes #398

Tests

  • Focused pytest coverage for post_object and create_release_files: passed.
  • Ruff lint and format checks on touched files: passed.
  • Direct repository mypy check through an existing mypy environment: passed.
  • Whitespace check: passed.

@python-cla-bot
Copy link
Copy Markdown

python-cla-bot Bot commented Jun 2, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: add_to_pydotorg can finish after partial release-file creation

1 participant